Computer program products for routing phone calls to a pstn or a packet switched network based on called number

ABSTRACT

A phone call is selectively routed to a public switched telephone network or to a packet switched network based on a called number to which the phone call is directed. A phone call may be made as a Voice-Over-Internet-Protocol call through, for example, the Internet except when a user dials an emergency number, in which case the call is made to the public switched telephone network.

CROSS REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. application Ser. No. 10/653,670, filed Sep. 2, 2003, the disclosure of which is hereby incorporated herein by reference in its entirety as if set forth fully herein.

FIELD OF THE INVENTION

The present invention generally relates to the field of switched telephony, and more particularly to apparatus, methods, and computer program products for providing voice communications over the Internet.

BACKGROUND OF THE INVENTION

The Internet has become a mainstream network for communicating not just data, such as email and pictures, but also for providing real-time bi-directional voice communications. Voice-Over-Internet-Protocol (VoIP) is an industry standard that has evolved to enable users to place phone calls through the Internet, instead of through the Public Switched Telephone Network (PSTN). A conventional phone may now be connected to the Internet using an interface device that converts analog phone signals to digital signals that can be communicated through the Internet. A phone call may thereby be communicated through the Internet to a VoIP provider, who converts the call back to an analog signal and places the call through a PSTN that is local to the called phone. A user can thereby dial a telephone number in a conventional manner and have the call routed through the Internet, instead of through the PSTN.

However, some telephone services may only be available to users who make calls through the PSTN, and may not be available if the calls are instead made through the Internet. For example, when a user places a call to an emergency number, such as a “911” call, through the PSTN, the emergency call is routed to a local emergency response center. The location of the caller and the phone number of the calling phone may be automatically communicated to emergency personnel.

SUMMARY OF THE INVENTION

Embodiments of the present invention route calls in a communication system. A phone call is selectively routed to a public switched telephone network (PSTN) or to a packet switched network based on a called number to which the phone call is directed. For example, a phone call may be selectively routed as an analog signal to the PSTN, or routed as a digital signal to a packet switched network via, for example, a cable modem device, a digital subscriber line (DSL) modem device, and/or another narrow or broadband network interface device. A phone call may be selectively routed based on whether the called number corresponds to one or more predefined numbers. A predefined number may correspond to an emergency number, such as “911”.

Accordingly, in some embodiments of the present invention, phone calls may be made as Voice-Over-Internet-Protocol (VoIP) calls through, for example, the Internet except when a user dials an emergency number, in which case the call is made to the PSTN. An emergency call may thereby be routed to a local emergency response center, which may allow emergency personnel to automatically determine the location of the caller and telephone number of the phone.

Other systems, methods, and/or computer program products according to embodiments will be or become apparent to one with skill in the art upon review of the following drawings and detailed description. It is intended that all such additional systems, methods, and/or computer program products be included within this description, be within the scope of the present invention, and be protected by the accompanying claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of communications systems according to various embodiments of the present invention.

FIG. 2 is a diagram of a phone adapter according to various embodiments of the present invention.

FIG. 3 is a flow chart illustrating operations for routing calls according to various embodiments of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

The present invention now will be described more fully hereinafter with reference to the accompanying drawings, in which embodiments of the invention are shown. However, this invention should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Like numbers refer to like elements throughout.

It also will be understood that, as used herein, the term “comprising” or “comprises” is open-ended, and includes one or more stated elements, steps and/or functions without precluding one or more unstated elements, steps and/or functions.

The present invention is described below with reference to block diagrams and/or operational illustrations of methods and systems according to embodiments of the invention. It is understood that each block of the block diagrams and/or operational illustrations, and combinations of blocks in the block diagrams and/or operational illustrations, can be implemented by analog and/or digital hardware, and/or computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, ASIC, and/or other programmable data processing apparatus in a system, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or operational block or blocks. In some alternate implementations, the functions/acts noted in the blocks may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved.

FIG. 1 is a block diagram of communications systems for routing calls between communication devices according to various embodiments of the present invention. A phone 100 is connected to a phone-network interface 110 that selectively routes calls from the phone 100, via a local access network 120, through a public switched telephone network (PSTN) 130 or a packet switched network, which for purposes of illustration only, is referred to as the Internet 140. The local access network 120 may include a local access phone provider 122 and a local access Internet provider 124. The local access phone provider 122 may be a local end office that switches calls between the phone 100 and other communication devices that are connected to the PSTN 130. The local access Internet provider 124 provides a local interface between the phone-network interface 110 and other communication devices that are connected to the Internet 140.

The local access phone provider 122 and the local access Internet provider 124 may be the same entity. For example, phone and Internet access may provided by a local telephone company using a digital subscriber line (DSL) wherein analog phone calls are combined with digital data, and later separated and routed through the PSTN 130 and the Internet 140, respectively. Alternatively, phone and Internet access may be provided by different entities. For example, a local phone company may service analog phone lines that are connected to the phone-network interface 110, and a cable TV/communications company may service digital cable lines that are also connected to the phone-network interface 110. The phone-network interface 110 may also be connected to PSTN 130 and/or the Internet 140 via a wireless interface, such as through a cellular operator.

The phone-network interface 110 may include a phone adapter 112 and an Internet access device 114. The Internet access device 114 may be, for example, a cable modem device and/or a DLS modem device that provides a data communication interface with the local access Internet provider 124. The phone adapter 112 selectively routes phone calls from the phone 100 based on the called number. For example, when a called number corresponds to one or more predefined numbers, the phone call is routed through the PSTN 130, via the local access phone provider 122, to another communication device. Otherwise, the phone call is routed through the Internet 140, via the Internet access device 114 and the local access Internet provider 124, to a Voice-Over-Internet-Protocol (VoIP) provider 160. The VoIP provider 160 may then route the call to an end office that is local to the called phone. The predefined numbers that are used for routing calls may be defined by a user, such as by entering a programming sequence and the desired numbers through a keypad on the phone 100, and/or may be received from another device, such as the VoIP provider 160.

Accordingly, in some embodiments of the present invention, phone calls may be made as VoIP calls through the Internet, except when a user dials an emergency number, such as “911”. Emergency calls are automatically routed through the PSTN 130, instead of through the Internet 140. Emergency calls may thereby be made to a local emergency response center 150, which may allow emergency personnel to determine the location of the caller and telephone number of the calling phone.

Although FIG. 1 illustrates an exemplary phone-network interface 110, it will be understood that the present invention is not limited to such a configuration, but is intended instead to encompass any configuration capable of carrying out the operations described herein. For example, although the phone adapter 112 and the Internet access device 114 are shown as separate devices, they may be configured as one or more devices. Moreover, the phone 100 and the phone-network interface 110, and/or the phone adapter 112 and the Internet access device 114 may be a configured to communicate across a wireless interface such as, for example, a cellular interface, a wireless local area network interface (WLAN), a Bluetooth interface, another RF communication interface, and/or an optical interface. As used herein, a “phone” includes, but is not limited to, a device that is configured to establish a call across a PSTN such as, for example, a device that may be connected to a Plain Old Telephone System (POTS) and communicates using analog signals (e.g., telephone, personal computer, radio, television, and/or radio/television tuner and/or recorder), and a wireless terminal such as, for example, a cellular terminal that may communicate through a PSTN via a wireless base station and a mobile switching office.

FIG. 2 shows a phone adapter 200 that is configured according to some embodiments of the present invention, and which may be used as the phone adapter 112 shown in FIG. 1. The phone adapter 200 includes a switch 210, a controller 220, a phone interface 230, a PSTN interface 240, and an Internet interface 250. The phone interface 230 and the PSTN interface 240 are configured to be communicatively connected to the phone 100 and to the PSTN 130, respectively, and may be standard RJ11 connectors. The Internet interface 250 is configured to be communicatively connected to Internet 140 via the Internet access device 114. For example, the Internet network interface 250 may be a cable connection that can be coupled to a cable modem device, and/or may be a RJ11 connector that may be coupled to a DSL modem device. Although the switch 210 and the controller 220 are shown as separate devices, they may be configured as a single device and/or may operate as software on a data processing unit.

The controller 220 senses a called number in a signal from the phone interface 230. The signal may be an analog phone signal, and the controller 220 may be configured to sense dual-tone multi-frequency (DTMF) formatted numbers and/or dial pulse formatted numbers. The switch 210 selectively passes a signal from the phone interface 230 to the PSTN interface 240 based on a control signal from the controller 220. For example, if the dialed number corresponds to one or more predefined numbers, the controller 220 controls the switch 210 to connect the phone interface 230 to the PSTN interface 240, and thereby route a call from a phone to a PSTN. If the switch 210 is normally-open until it is closed by the controller 220, a dialed phone number is blocked from the PSTN interface 240. Consequently, the controller 220 may take the PSTN interface 240 “off-hook” and dial the phone number after the controller 220 has determined that the dialed number corresponds to one or more predefined numbers.

The controller 220 is also configured to interface the phone 100 with a packet switched network, such as the Internet 140, through the Internet access device 114. In some embodiments of the present invention, when a dialed number does not correspond to one or more predefined numbers, the controller 220 coverts an analog phone signal to a digital signal and establishes a VoIP call through the Internet access device 114 and the VoIP provider 160. The operation and configuration for establishing a VoIP call through an Internet access device and a VoIP provider are well known to those skilled in the art and will not be further described herein.

FIG. 3 is flow chart of operations for routing phone calls according to some embodiments of the present invention. At Block 300, a dialed phone number is received. At Block 310, a determination is made as to whether the phone number corresponds to a predefined number (e.g., an emergency number and/or a predefined number), and, if so, at Block 320 the phone number is provided to a PSTN, and at Block 330 a voice call is established through the PSTN. When the phone number does not correspond to the predefined number, a voice call is established over a packet switched network at Block 340.

In the drawings and specification, there have been disclosed typical preferred embodiments of the invention and, although specific terms are employed, they are used in a generic and descriptive sense only and not for purposes of limitation, the scope of the invention being set forth in the following claims. 

1. A computer program product for routing calls in a communication system, the computer program product comprising program code embodied in a computer-executable storage medium, the computer program code comprising: program code that when executed by at least one processor within a phone network interface that is separate from a local access phone provider and from a local access Internet provider is configured to selectively carry out based on a called number to which a phone call is directed: 1) routing an analog signal of the phone call, which is received from a phone, through an analog phone line for communication to the local access phone provider and across a public switched telephone network (PSTN); or 2) routing a digital Voice-Over-Internet-Protocol (VoIP) phone call signal, which has been converted from the analog signal from the phone, to a broadband network modem device for communication to the local access Internet provider and across a packet switched network. 2.-5. (canceled)
 6. The computer program product according to claim 1, wherein the program code when executed by the at least one processor is configured to route the digital VoIP phone call signal from the phone network interface to a cable modem device for communication to the local access Internet provider.
 7. The computer program product according to claim 1, wherein the program code when executed by the at least one processor is configured to route the digital VoIP phone call signal from the phone network interface through a digital subscriber line (DSL) modem device for communication to the local access Internet provider.
 8. The computer program product according to claim 1, wherein the program code when executed by the at least one processor is configured to respond to the called number corresponding to at least one predefined number by routing the analog signal of the phone call through the analog phone line for communication to the local access phone provider.
 9. The computer program product according to claim 8, wherein the program code when executed by the at least one processor is configured to respond to the called number not corresponding to the at least one predefined number by causing the analog signal from the phone call signal to be converted to a digital VoIP phone call signal and to route the digital VoIP phone call signal to a broadband network modem device.
 10. The computer program product according to claim 8, wherein the program code when executed by the at least one processor is configured to respond to the called number corresponding to the number 911 by routing the analog signal of the phone call through the analog phone line for communication to the local access phone provider.
 11. The computer program product according to claim 1, wherein the program code when executed by the at least one processor is configured to respond to the called number corresponding to an emergency number by routing the analog signal of the phone call through the analog phone line for communication to the local access phone provider, and to respond to the called number not corresponding to an emergency number by causing the analog phone call signal to be converted to a digital VoIP phone call signal and to route the digital VoIP phone call signal to a broadband network modem device.
 12. The computer program product according to claim 1, wherein the program code when executed by the at least one processor is configured to route the analog signal of the phone call through the analog phone line for communication to the local access phone provider by operations that include causing an analog connection to be established between the phone and the PSTN, and is configured to route the digital VoIP phone call signal to a broadband network modem device by operations that include causing a digital connection to be established between the phone and the packet switched network.
 13. The computer program product according to claim 12, wherein the program code when executed by the at least one processor is configured to cause the analog signal from the phone to be selectively converted to a digital signal in response to the called number.
 14. The computer program product according to claim 1, wherein the program code when executed by the at least one processor is configured to selectively provide the called number to one of the PSTN and the packet switched network in response to the called number.
 15. The computer program product according to claim 1, wherein the program code when executed by the at least one processor is configured to cause the analog signal from the phone call signal to be converted to a digital VoIP phone call signal and to route the digital VoIP phone call signal to a broadband network modem device by operations that include routing the VoIP phone call to a Voice-Over-Internet-Protocol (VoIP) provider.
 16. The computer program product according to claim 15, wherein the program code when executed by the at least one processor is configured to route the VoIP phone call through a cable modem device to the local access Internet provider.
 17. The computer program product according to claim 15, wherein the program code when executed by the at least one processor is configured to route the VoIP phone call through a digital subscriber line (DSL) modem device to the local access Internet provider.
 18. The computer program product according to claim 1, wherein the program code when executed by the at least one processor is configured to respond to the called number corresponding to at least one predefined number by routing the analog signal of the phone call through a PSTN interface of a phone adapter, which is separate from the local access phone provider, through the analog phone line for communication to the local access phone provider.
 19. The computer program product according to claim 18, wherein the program code when executed by the at least one processor is configured to respond to the called number not corresponding to the at least one predefined number by causing the analog signal from the phone call signal to be converted to a digital VoIP phone call signal and to route the digital VoIP phone call signal through an Internet interface, which is separate from the local access Internet provider, to a broadband network modem device for communication to the local access Internet provider. 